#pragma once

#include "freertos/FreeRTOS.h"
#include "freertos/task.h"

#ifdef __cplusplus
extern "C" {
#endif

void task_lvgl_init();
bool task_lvgl_lock(int timeout_ms);
void task_lvgl_unlock();

#ifdef __cplusplus
}
#endif
